export const tableConfig = {
  colunms: [
    {
      label: '用户名',
      prop: 'real_name',
      sortable: true
    }, {
      label: '手机号',
      prop: 'mobile',
      sortable: true
    }, {
      label: '用户操作',
      prop: 'payEventName',
      sortable: true
    }, {
      label: '操作金额',
      prop: 'amount',
      sortable: true
    }, {
      label: '账号余额',
      prop: 'current_balance',
      sortable: true
    }, {
      label: '用户操作时间',
      prop: 'create_time',
      sortable: true
    }
  ]
}

export const searchConfig = [
  {
    name: '模糊查询',
    key: 'search',
    type: 'input',
    placeholder: '请填写查询关键词',
    value: '',
    isCanCommonSearch: true
  }, {
    name: '用户操作',
    key: 'payEvent',
    type: 'select',
    placeholder: '请选择用户操作',
    items: [
      { label: '充值', value: '1' },
      { label: '下单', value: '2' },
      { label: '提现', value: '3' },
      { label: '收入', value: '4' }
    ],
    value: '',
    isCanCommonSearch: true
  }, {
    name: '注册时间',
    key: [ 'start_time', 'end_time' ],
    placeholder: '请选择注册时间',
    type: 'datetimerange',
    value: []
  }
]
